package com.cty.LinkedList;
//这里是双向链表的节点
public class heroNode2 {
    public int no;
    public String name;
    public String  nickName;
    public heroNode2 next;
    public heroNode2 pre;
    public heroNode2(int no,String name,String nickName){
        this.name=name;
        this.no=no;
        this.nickName= nickName;
    }

    @Override
    public String toString() {
        return "heroNode{" +
                "no=" + no +
                ", name='" + name + '\'' +
                ", nickName='" + nickName + '\'' +
                '}';
    }
}
